/*
 * Condition.hpp
 *
 *  Created on: 15.12.2012
 *      Author: zheka
 */

#ifndef CONDITION_HPP_
#define CONDITION_HPP_

#include <pthread.h>
#include "pthread/Mutex.hpp"
class Condition {
private:
	pthread_cond_t cond;
	Mutex mutex;


public:
	Condition();
	~Condition();
	void wait();
	void notify();
};

#endif /* CONDITION_HPP_ */
